module.exports = function(e) {
  var app = getApp();
  var t = this, r = t.page.currentPage;
  t.page.currentPageOptions;
  r && "pages/index/index" === r.route && "my" === t.platform || this.request({
    url: app.args.api.user.userdetail,
    data:{
      wxapp_id: app.getWxappId(),
      token: wx.getStorageSync('token')
    },
    success: function(e) {
      0 == e.code && (t.page.setPhone());
    }
  });
};